using System;
using System.Collections;

namespace Sedna.Core.Controller.Configurations
{
	/// <summary>
	/// Summary description for JavascriptEmitterConfiguration.
	/// </summary>
	public class JavascriptEmitterConfiguration: GenericConfiguration, IJavascriptEmitterConfiguration
	{

		public class JavascriptClassConfiguration: IJavascriptClassConfiguration
		{
			private string fileName;
			private IList dependsOn;
            private string superClass;

			public string FileName
			{
				get { return fileName; }
				set { fileName = value; }
			}

			public IList DependsOn
			{
				get { return dependsOn; }
				set { dependsOn = value; }
			}


		    public string SuperClass
		    {
		        get { return superClass; }
		        set { superClass = value; }
		    }
		}

		private IDictionary classes;
		private IList commonClasses;
		private string commonScriptKey;
		private string scriptBase;

		public string ScriptBase
		{
			get { return scriptBase; }
			set { scriptBase = value; }
		}

		public string CommonScriptKey
		{
			get { return commonScriptKey; }
			set { commonScriptKey = value; }
		}

		public IDictionary Classes
		{
			get { return classes; }
			set { classes = value; }
		}

		public IList CommonClasses
		{
			get { return commonClasses; }
			set { commonClasses = value; }
		}
	}
}
